//
//  ZFBHomeTopView.h
//  01-ZFB
//
//  Created by My Mac on 2017/6/1.
//  Copyright © 2017年 MyMac. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ZFBHomeTopView;

typedef enum : NSInteger
{
    ZFBHomeTopViewButtonTypeScan,
    ZFBHomeTopViewButtonTypePay,
    ZFBHomeTopViewButtonTypeCard,
    ZFBHomeTopViewButtonTypeXiu,
} ZFBHomeTopViewButtonType;

@protocol ZFBHomeTopViewDelegate <NSObject>

-(void)homeTopView:(ZFBHomeTopView *)topView topButtonClickType:(ZFBHomeTopViewButtonType)type title:(NSString *)title;

@end

@interface ZFBHomeTopView : UIView

@property(nonatomic,weak) id<ZFBHomeTopViewDelegate> delegate;

@end
